package org.jeecg.modules.content.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.springframework.format.annotation.DateTimeFormat;

/**
 * @Description: 第三方平台信息
 * @Author: jeecg-boot
 * @Date:   2020-05-02
 * @Version: V1.0
 */
@Data
@TableName("bas_third_info")
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="bas_third_info对象", description="第三方平台信息")
public class BasThirdInfo {

	/**主键ID*/
	@TableId(type = IdType.ID_WORKER_STR)
    @ApiModelProperty(value = "主键ID")
	private String id;
	/**创建人*/
	@Excel(name = "创建人", width = 15)
    @ApiModelProperty(value = "创建人")
	private String createBy;
	/**创建时间*/
	@Excel(name = "创建时间", width = 20, format = "yyyy-MM-dd HH:mm:ss")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "创建时间")
	private java.util.Date createTime;
	/**修改人*/
	@Excel(name = "修改人", width = 15)
    @ApiModelProperty(value = "修改人")
	private String updateBy;
	/**修改时间*/
	@Excel(name = "修改时间", width = 20, format = "yyyy-MM-dd HH:mm:ss")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "修改时间")
	private java.util.Date updateTime;
	/**备注*/
	@Excel(name = "备注", width = 15)
    @ApiModelProperty(value = "备注")
	private String remark;
	/**删除标识0-正常,1-已删除*/
	@Excel(name = "删除标识0-正常,1-已删除", width = 15)
    @ApiModelProperty(value = "删除标识0-正常,1-已删除")
	private Integer delFlag;
	/**平台类型 1、微信 2、抖音 3、头条 4、微博*/
	@Excel(name = "平台类型 1、微信 2、抖音 3、头条 4、微博", width = 15)
    @ApiModelProperty(value = "平台类型 1、微信 2、抖音 3、头条 4、微博")
	private Integer platformType;
	/**平台注册名称*/
	@Excel(name = "平台注册名称", width = 15)
    @ApiModelProperty(value = "平台注册名称")
	private String platformName;

	/**用户id*/
	@Excel(name = "用户id", width = 32)
	@ApiModelProperty(value = "用户id")
	private String uid;

	/**应用唯一标识*/
	@Excel(name = "应用唯一标识", width = 15)
    @ApiModelProperty(value = "应用唯一标识")
	private String clientKey;
	/**应用唯一标识对应的密钥*/
	@Excel(name = "应用唯一标识对应的密钥", width = 15)
    @ApiModelProperty(value = "应用唯一标识对应的密钥")
	private String clientSecret;
	/**应用凭证*/
	@Excel(name = "应用凭证", width = 15)
    @ApiModelProperty(value = "应用凭证")
	private String accessToken;
	/**过期时间*/
	@Excel(name = "过期时间", width = 15)
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
	@ApiModelProperty(value = "过期时间")
	private java.util.Date expirationTime;

}
